﻿using System;
using System.Text;

namespace BizElements.Core.ProviderComponents
{
    /// <summary>Renders SQL FROM clause.</summary>
    public interface IFromClauseRenderer
    {
        /// <summary>
        /// Renders SQL FROM clause.
        /// </summary>
        /// <param name="from">FROM clause.</param>
        /// <param name="dbms">Target DBMS:</param>
        /// <param name="output">StringBuilder to which SQL is appended.</param>
        void Render(FromClause from, DbmsType dbms, StringBuilder output);
    } 
}